<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: silence
  Date: 17-5-31
  Time: 下午7:01
  Introduce: 登录页面
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录页面</title>

    <!-- Bootstrap core CSS -->
    <link href="<c:url value="/resources/lib/bootstrap/css/bootstrap.min.css"/>" rel="stylesheet">

</head>
<body>

<h2 class="">${msg==""?"":msg}</h2>

<div class="container">
    <form action="<c:url value="/login"/>" method="post">
        <h1 class="form-signin-heading">Login</h1>
        <br>
        <input class="form-control" type="email" name="email" placeholder="email" required autofocus>
        <br>
        <input class="form-control" type="password" name="password" placeholder="password" required>
        <br>
        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
        <br>

        <a href="<c:url value="/register"/>" class="">没有账号?注册</a>
    </form>

</div>
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="<c:url value="/resources/lib/jquery/jquery.min.js"/>"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="<c:url value="/resources/lib/bootstrap/js/bootstrap.min.js"/>"></script>

</body>
</html>
